<template>
    <layout>
    	<mt-header title="我的评语">
            <a href="/member" slot="left">
                <mt-button  icon="back"></mt-button>
            </a>


        </mt-header>
    	<ul>
				<li v-for="item in evaluateList.list ">
					<div class="py_box">
						<div class="py_img">
							<img src="http://weidian-test.oss-cn-shenzhen.aliyuncs.com/edu/img/header_portrait.png" />
						</div>
						<div class="py_name">
							<span class="py_top">{{ item.commentPersonName }}</span>
							<span class="py_bt">{{ item.courseName }}老师</span>
						</div>
						<div class="py_sj">
							<span class="py_top">{{ item.createDate | data }}</span>
							<!--<span class="py_bt">我的得分：86</span>-->
						</div>
					</div>
					<div class="py_nr"><div class="py_zt">{{ item.content }}</div></div>
				</li>

			</ul>
    </layout>
</template>
<style lang="scss">
    @import "index.scss";
</style>
<script type="text/babel">
    import { api } from 'framework/config.js';
    import Layout from "component/layout/standard";

    import Vue from 'vue'
    import Mint from 'mint-ui';
    Vue.use(Mint);

    export default {
        components: {
            Layout
        },
        data(){
            return {

            }
        },
        filters: {
            data:function (data) {
                var d = new Date(data);
                var hour = d.getHours();
                var minutes = d.getMinutes();
                var seconds = d.getSeconds();
                return   hour + ' : ' +  minutes + ' : ' + seconds;
            }

        },
        computed: {
            api(){
                return api();
            }
        },
        methods: {

        },
        created(){
        },
        mounted() {
        }
    }
</script>

